<!DOCTYPE html>
<html>
<head>
    <title>设备接受消息</title>
    <#include "/header.html">
    <link rel="stylesheet" href="${request.contextPath}/statics/libs/paging.css">
    <script src="${request.contextPath}/statics/libs/paging.js"></script>
    <script type="text/javascript"  src="${request.contextPath}/statics/plugins/jqgrid/jszip.min.js"></script>
    <script type="text/javascript"  src="${request.contextPath}/statics/plugins/xlsx.full.min.js"></script>

</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">

        <div>

            <form class="form  form-inline">
                <div class="form-group">
                    <label>省</label>

                    <select name="province" id="province" class="form-control" v-model="s1.province"
                            placeholder="省" @change="s1getCity">
                        <option value="">所有</option>
                        <option v-for="item in s1.provinces" :value="item">{{item}}</option>
                    </select>

                </div>
                <div class="form-group">
                    <label>市</label>
                    <select name="city" id="city" class="form-control" v-model="s1.city"
                            placeholder="市" @change="s1getCountry">
                        <option value="">所有</option>
                        <option v-for="item in s1.cities" :value="item">{{item}}</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>县</label>
                    <select name="town" id="town" class="form-control" v-model="s1.country"
                            placeholder="县" @change="s1getBuilding">
                        <option value="">所有</option>
                        <option v-for="item in s1.countries" :value="item">{{item}}</option>
                    </select>
                </div>

                <div class="form-group">
                    <label>楼名</label>
                    <select class="form-control" v-model="s1.buildingName" placeholder="楼名" @change="s1getBuilding">
                        <option value="">所有</option>
                        <option v-for="item in s1.buildings" :value="item">{{item}}</option>
                    </select>
                </div>

                <div class="form-group">
                    <label>层</label>
                    <input type="number" class="form-control" v-model="s1.layerNo" style="width:100px"
                           placeholder="楼层号"/>
                </div>

                <div class="form-group">
                    <label>玻璃编号</label>
                    <input type="number" class="form-control" v-model="s1.No" style="width:100px" placeholder="玻璃编号"/>
                </div>
                <div class="form-group">
                    <button class="btn-primary btn" type="button" @click="query">查询</button>
                    <button class="btn-primary btn" type="reset"  >重置</button>
                    <button class="btn-primary btn" type="button" @click="exportData">导出</button>
                </div>
            </form>


        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>


</div>

<script src="${request.contextPath}/statics/js/modules/device/devicedata.js?_${.now?long}"></script>
</body>
</html>